package com.dlx.vo.acl;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <h3>smms_parent</h3>
 *
 * @author nglon
 * @description <p>用户信息更新类</p>
 * @date 2021-11-27 16:36
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="用户更新对象")
public class UserUpdateVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "个人签名")
    private String sign;

    @ApiModelProperty(value = "性别")
    private Boolean sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty("头像路径")
    private String avatar;

}
